Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Constants and Data Types for the Raster Imaging System


Raster Package Structure

The raster package structure, of data type gxRasterPackageRec, is used to define how raster data is packaged into a buffer for sending to the output device.

struct gxRasterPackageRec {
   Ptr                     bufferSize;
   short                   colorPasses;
   short                   headHeight;
   short                   numberPasses;
   short                   passOffset;
   gxRasterPackageOptions  packageOptions;
};
typedef struct gxRasterPackageRec gxRasterPackageRec, 
*gxRasterPackagePtr, **gxRasterPackageHdl;
Field Description
bufferSize
The number of bytes in the raster packaging buffer.
colorPasses
The number of print-head passes required to print all colors.
headHeight
The height of the print head in pixels.
numberPasses
The number of passes required per headheight.
passOffset
The offset between passes in pixels.
packageOptions
The packaging options, as defined in the next section.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help